package com.bgrconsulting.stockorderentry.service.model;

import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

public class Product {
	@PrimaryKey
	private String accountId;
	
	@Persistent
	private String masterAccount;
	
	@PrimaryKey
	private String symbol;
	
	@PrimaryKey
	private String market;
	
	@PrimaryKey
	private String typeCode;
	
	public Product(String accountId, String masterAccount, String symbol, String market, String typeCode) {
		this.accountId = accountId;
		this.masterAccount = masterAccount;
		this.symbol = symbol;
		this.market = market;
		this.typeCode = typeCode;
	}
	
	public Product() {
		
	}
	
	public void setMasterAccount(String masterAccount) {
		this.masterAccount = masterAccount;
	}
	
	public String getMasterAccount() {
		return this.masterAccount;
	}
	
	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}
	
	public String getAccountId() {
		return this.accountId;
	}
	
	public void setSymbol(String symbol) {
		this.symbol = symbol;
	}
	
	public String getSymbol() {
		return this.symbol;
	}
	
	public void setMarket(String market) {
		this.market = market;
	}
	
	public String getMarket() {
		return this.market;
	}
	
	public String getSymbolmarket() {
		return this.market;
	}
	
	public void setTypeCode(String typeCode) {
		this.typeCode = typeCode;
	}
	
	public String getTypeCode() {
		return this.typeCode;
	}
	

}
